import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set from '@dfeidao/atom-web/local/set';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p002 from './p002';
import get from '@dfeidao/atom-web/local/get';
export default async function a004(fd: IFeidaoAiBrowserComponent) {
	// todo
	const plan_cla_attr_no = fd.data.node.querySelector<HTMLSelectElement>('[data-id="plan_cla_attr_name"]').value;
	set(fd, 'plan_cla_attr_no', plan_cla_attr_no);
	const render_data = get(fd, 'render_data');
	const res3 = await nodejs('GuoKai/zj-000005/s002', {
		plan_cla_attr_no
	});
	const render_data1 = Object.assign(render_data, res3);
	console.log('ssss', res3);
	console.log(render_data1);
	render(fd, render_data1, p002, 'p002', 'inner');
}

